<?php

namespace app\common\model;


class SystemUser extends BaseModel
{
    public function getSearchTipAttr($val,$data){
        return $data['username'].' '.$data['phone'];
    }

    public function store(){
        return $this->hasOne(ShopStore::class,'admin_id','id');
    }
}
